package com.itheima.reggie.common;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author LiuKeLin
 * @title: PageParam
 * @projectName reggie
 * @description: TODO
 * @date 2021/12/2719:59
 */
@Data
public class PageParam {

    //当前页
    private int page;
    //每页显示数
    private int pageSize;
    private String name;

    private Long Number;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
